package ace.tool.generate.code.impl.resolver.scheme.model.bo.api;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 模块权限静态类.
 *
 * @author caspar
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthorityConstantFieldInfo {
  /** 字段类型. */
  private String type;

  /**
   * 字段名,example: DEMO_SMS_ADMIN_READ DEMO_SMS_ADMIN_WRITE DEMO_SMS_ADMIN_REMOVE
   * DEMO_SMS_TENANT_READ DEMO_SMS_TENANT_WRITE DEMO_SMS_TENANT_REMOVE DEMO_SMS_MERCHANT_READ
   * DEMO_SMS_MERCHANT_WRITE DEMO_SMS_MERCHANT_REMOVE.
   */
  private String name;

  /**
   * 权限,example: demo_sms_admin_read demo_sms_admin_write demo_sms_admin_remove demo_sms_tenant_read
   * demo_sms_tenant_write demo_sms_tenant_remove demo_sms_merchant_read demo_sms_merchant_write
   * demo_sms_merchant_remove.
   */
  private String value;
}
